<template>
  <div>
    <div class="thirdparty-line">
      <span>或使用以下账号登录</span>
    </div>
    <div class="social-login">
      <div class="logo" style="padding: 16px 9px">
        <img
          style="width: 30px; height: 15px"
          src="../assets/image/netease-logo-red.0TUZK.svg"
          alt=""
        />
      </div>
      <div class="logo" style="padding: 13px 16px">
        <img
          style="width: 15px; height: 19px"
          src="../assets/image/apple-logo-black.067En.svg"
          alt=""
        />
      </div>
    </div>

    <ul class="help-links">
      <li>
        <a href="">创建战网通行证</a>
      </li>
      <li>
        <span @click="onClickRight">免费注册</span>
      </li>
      <li>
        <a href="">安全令重新同步</a>
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  methods: {
    onClickRight() {
      this.$router.push("/register");
    },
  },
};
</script>

<style lang="scss" scoped>
.thirdparty-line {
  height: 21px;
  margin: 39px 0 27px;
  padding: 0;
  text-align: center;

  span {
    font-size: 14px;
    color: #a1a2a5;
    font-weight: bold;
  }
}

.social-login {
  width: 220px;
  height: 72px;
  margin: 0 58px 40px;
  display: flex;
  justify-content: center;

  .logo {
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    margin: 0 12px 24px;
    background-color: #fff;
    border-radius: 5px;
  }
}

.help-links {
  text-align: center;

  li {
    margin: 0 0 24px;

    a,
    span {
      color: #148eff;
      font-size: 16px;
      font-weight: 700;
    }
  }
}
</style>
